package com.bc.service.deal.BtcTrade;

import java.util.HashMap;

import com.bc.service.BaseResponse;
import com.bc.service.deal.BtcCategory;
import com.bc.utils.Constants;

public class BtcTradeResponse extends BaseResponse implements BtcCategory{
	double high;
	double low;
	double buy;
	double sell;
	double last;
	double vol;
	
	@Override
	public HashMap<String, Object> getBtcNews() {
		HashMap<String, Object> mHashMap = new HashMap<String, Object>();
		mHashMap.put(Constants.LAST_SALE_PRICE, last);
		mHashMap.put(Constants.BUY_ONE_PRICE, buy);
		mHashMap.put(Constants.SELL_ONE_PRICE, sell);
		mHashMap.put(Constants.SELL_HIGH_PRICE, high);
		mHashMap.put(Constants.SELL_LOW_PRICE, low);
		mHashMap.put(Constants.SALE_VOLUME, vol);
		return mHashMap;
	}

	@Override
	public String getBtcType() {
		return "btctradeTicker";
	}
}
